package com.sugar.psych.assessment.module.business.controller.admin.basicconfig.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 基本配置新增/修改 Request VO")
@Data
public class BasicConfigSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "3747")
    private Long id;

    /**
     * 答题分数临界值（<=该值，随机20道；>该值，随机40道）
     */
    @NotNull(message = "答题分数临界值不能为空")
    private Integer answerScore;

    @Schema(description = "用户隐私协议", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "用户隐私协议不能为空")
    private String userAgreement;

    @Schema(description = "心理评测风险", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "心理评测风险不能为空")
    private String assessmentRisk;

    @Schema(description = "心理评测风险", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "心理评测一级标题不能为空")
    private String title;

    @Schema(description = "心理评测风险", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "心理评测二级标题不能为空")
    private String title2;

    @Schema(description = "用户默认头像")
    private String userDefaultAvatar;

    @NotEmpty(message = "首页背景图不能为空")
    private String homeBackImg;

    @Schema(description = "积分说明", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "积分说明不能为空")
    private String pointsDescribe;

    @Schema(description = "心理中心热线", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "心理中心热线不能为空")
    private String centerHotline;

}